package tv.scolopender.model;


public class Comment {
	private int id;
	private String text;
	private User user;

	public Comment(int id, String text, User user) {
		super();
		this.id = id;
		this.text = text;
		this.user = user;
	}

	public Comment(String text, User user) {
		this(0, text, user);
	}

	public Comment() {
		this(0, "", new User());
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
}
